﻿@model LeadVinaglue.Models.ViewPages.ProductDetailViewModel
@{
    ViewBag.Title = "ProductDetail";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<link rel="stylesheet" type="text/css" href="/Content/docdetail.css" />
<script type="text/javascript">
    function showhideDescription() {
        $("#description1").css("display", "block");
        $("#description").css("display", "none");
        $("#divmore").css("display", "none");
    };
</script>

<div class="doc680 fleft">
    <div class="docdesc680 fleft">
        <div class="boxde_10">
            <div class="w676 fleft mb_8" id="VietAd">
                <h1 name="titleOrigin" id="titleOrigin" style="display:block" class="w676 fbold mb_8">@Model.ProductDetail.Title</h1>
			    <p class="doc_decs">
				    <span id="descOrigin" name="descOrigin">
                        <span >@Html.Raw(Model.ProductDetail.LongDesc)</span>
                        <!--@if (Model.ProductDetail.LongDesc.Length > 200)
                        {
							<span id="description1">@Html.Raw(Model.ProductDetail.LongDesc)</span>
				            <span style="display:none" id="description">@Html.Raw(Model.ProductDetail.LongDesc)</span>
                            <a onclick="showhideDescription('description','description1')" href="javascript:void(0);" name="divmore" id="divmore">more</a>
                        }
                        else
                        {
							<span >@Html.Raw(Model.ProductDetail.LongDesc)</span>
                        }-->
                    </span>
			    </p>
		        <div>
			        <div style="clear:both"></div>
		        </div>
        </div>
    </div>
    </div>
	<div>
        <center>

        <ins style="display:inline-table;border:none;height:60px;margin:0;padding:0;position:relative;visibility:visible;width:468px">
            <ins style="display:block;border:none;height:60px;margin:0;padding:0;position:relative;visibility:visible;width:468px" id="aswift_0_anchor">
                <iframe width="468" scrolling="no" height="60" frameborder="0" style="left:0;position:absolute;top:0;" name="aswift_0" id="aswift_0" onload="var i=this.id,s=window.google_iframe_oncopy,H=s&amp;&amp;s.handlers,h=H&amp;&amp;H[i],w=this.contentWindow,d;try{d=w.document}catch(e){}if(h&amp;&amp;d&amp;&amp;(!d.body||!d.body.firstChild)){if(h.call){setTimeout(h,0)}else if(h.match){w.location.replace(h)}}" allowtransparency="true" hspace="0" vspace="0" marginheight="0" marginwidth="0"></iframe>
            </ins>
        </ins>
        </center>
    </div>	  
    <p class="share_by w676 fleft">
        <img alt="@Model.ProductDetail.FileType" src='/images/@Model.ProductDetail.FileType.Replace(".", string.Empty)16x16.gif' />
        <span class="cred">4</span> trang		| Chia sẻ: <a href="/search?fb=member&fv=@Model.ProductDetail.Username">@Model.ProductDetail.Username</a>
		| Ngày:<span class="cred">@Model.ProductDetail.CreationDate</span>
		| Lượt xem:<span class="cred">@Model.ProductDetail.Reviewed</span>
		| Download: <span class="cred">@Model.ProductDetail.Downloaded</span>
	</p>
    <div class="docread680">
	    <div style="display:none; font-size:20px; color:red;" name="no_plugin1" id="no_plugin1">
		    <a href="http://www.macromedia.com/go/getflashplayer/" target="_blank"><img src="images/ads/thongbaotaiflash1.jpg"></a>
	    </div>
<!-- gan chi tiet doc pdf -->

    <div style="position:relative;" name="flash_paper_doc" id="flash_paper_doc">
	    <div style="position:absolute;left:0px;top:36px;">
		    <!--<img src="images/graphics/7tranga.jpg">-->
        </div>
	    <div style="position:absolute;left:650px;">
		    <!--<img src="images/graphics/fullscreen1.jpg">-->
	    </div>

	    <div style="position:absolute;left:0px;">
		    <div style="width:400px;border:0px;background:none;" id="boxde05">
		    <ul style="width:100%;border:0px;background:none;padding:0px;" class="listlink">
			    <li><img width="80px" src="/images/vinaglue_logo.png" style="margin-top:10px"></li>
			    <li><a href="javascript:void(0);" class="link02" name="lnkFav" id="lnkFav">Yêu thích</a></li>
			    <li><a rel="linktab02" href="javascript:void(0);" class="link04" onclick="ym2msgbox.show(&quot;msbbox_login&quot;,365);if (jQuery(&quot;#arrIDCollect&quot;).html()==&quot;&quot;) {ajax_loadMyCollection(&quot;5038904&quot;);return false;}">Thêm vào BST</a></li>
			    <li><a onclick="ym2msgbox.show(&quot;box_bad_out&quot;,550);refeshCapchaBL();return false;" rel="linktab04" href="javascript:void()" class="link06">Báo xấu</a></li>
		    </ul>
		    </div>
	    </div>
	    <div style="position:absolute;left:0px;z-index:1000;">
		    <div style="width:300px;border:0px;background:none;" id="boxde05">
				<div class="contab">
				    <div style="display:none;" id="box_addtocollection_out">
                        <div style="background:#FFFFFF!important;float:left;width:100%">
                        <div class="msgcontcom">
                        <div class="msgctrlbox"> <a href="javascript:void(0)" class="closeicon" onclick="ym2msgbox.hide();">close</a></div>
                        <div style="display:none" id="linktab02" class="conde05 fs11">
                        <center><p style="padding-right:10px;" class="txt_1">Để thực hiện chức năng này. Bạn vui lòng		<a class="btn_black" href="/">Đăng nhập</a> nếu đã có tài khoản tại vinaglue hoặc <a class="sign_up" href="/">Đăng ký</a> tài khoản miễn phí.</p><p></p></center>
                        </div>
                        </div>
                        <div id="clear"></div>
                        </div>
                    </div>
                    <div style="display:none" id="box_sendfriend_out">
                        <div id="box_sendfriend">
                            <div class="msgttmon2">
	                            <div class="msgttmonin2">
	                            <label>&nbsp;</label>
	                            </div>
                            </div>
                            <div class="msgcontcom">
	                            <div class="msgctrlbox"> <a href="javascript:void(0)" class="closeicon" onclick="ym2msgbox.hide();">close</a></div>
	                            <div class="msgtitle">
	                            <p>Gởi bạn bè</p>
	                            </div>
	                            <div class="box_content_sendtofriend">
	                            <form id="frmSF" name="frmSF">
	                            <div class="row1">
		                            <p class="txt_1"><span class="cred">*</span>Email của bạn:</p>
		                            <input type="text" class="txt_280" id="txtYourEmail" name="txtYourEmail" value="">
		                            <p class="txt_1"><span class="cred">*</span>Email người nhận:</p>
		                            <div class="normal_form">
		                            <textarea rows="" cols="" class="area_mail_content" id="txtFriendEmail" name="txtFriendEmail"></textarea>
		                            </div>
		                            <p class="txt_note">Có thể nhập nhiều địa chỉ cách nhau bởi dấu chấm phẩy.</p>
		                            <p class="txt_1">Lời nhắn (tối đa 1000 ký tự):</p>
		                            <textarea rows="" cols="" class="area_mail_content" id="txtMessage" name="txtMessage"></textarea>
	                            </div>
	                            <div class="row1">
		                            <p class="txt_1">Vui lòng nhập mã xác nhận vào ô bên dưới. Nếu bạn không đọc được, hãy <a class="ym_link" onclick="refeshCapchaSF(); return false;" href="javascript:void(0);">Chọn mã xác nhận khác.</a></p>
		                            <input type="text" id="captcha_input_SF" name="captcha_input_SF">
		                            <br>
		                            <span id="spmImgCaptchaSF"><img id="imgCaptchaSF"></span> </div>
                            <input type="hidden" value="Đề thi thử đại học môn Hóa năm 2013 mã đề 132 kèm đáp án" id="txtTitleSend" name="txtTitleSend">
                            <input type="hidden" value="" id="txtUsernameFrom" name="txtUsernameFrom">
                            <input type="hidden" id="captcha_id_SF" name="captcha_id_SF" value="">
                            <input type="hidden" id="strURL" name="strURL" value="/">
	                            <div class="row1">
		                            <div class="btn02 btncom">
		                            <span class="cr">
			                            <input type="button" value="Gửi" style="width: 80px;" onclick="submitSF(); return false;" id="lnkSubmitSF">
		                            </span>
		                            </div>
	                            </div>
	                            </form>
	                            </div>
                            </div>
                            <div class="msgttmon2 msgbotbor">
	                            <div class="msgttmonin2">
	                            <label>&nbsp;</label>
	                            </div>
                            </div>
                        </div>
                    </div>
                    <div style="display:none;" id="box_bad_out">

                    </div>
                </div>
		    </div>
        </div>
	    <iframe width="680px" height="560px" src="https://docs.google.com/a/vdoc.com.vn/viewer?url=http://streaming1.tailieu.vn/2013/20130329/emyzip209/de_hoa1_6239.pdf&amp;embedded=true" style="border:0px;"></iframe>
        <!--@Html.Partial("_EmbedFile", Model)-->
        <div style="border-color:#eaeaea;" id="boxden05">
		    <div class="contab">
		<div style="display:block" id="linktab01" class="conden05">
        <div style="width:450px;font-size:11px;margin:5px 0px 2px 5px;border-right:1px solid #eaeaea;" class="left">
	        <div>Thích và chia sẻ tài liệu này trên:</div>
	        <div>
		        <ul style="width:100%;padding:0px;">
			
			        <li style="padding-top:9px">
				        <img src="/images/ico16x16_01.gif" title="Gửi qua Y!M"><a href="ymsgr:sendIM?m=vinaglue" title="Gửi qua Y!M">Y!M</a>
			        </li>
			        <li style="padding-top:9px">
				        <div data-font="arial" data-show-faces="false" data-width="30" data-layout="button_count" data-send="false" data-href="/xem-tai-lieu/de-thi-thu-dai-hoc-mon-hoa-nam-2013-ma-de-132-kem-dap-an.1395490.html" class="fb-like fb_edge_widget_with_comment fb_iframe_widget" fb-xfbml-state="rendered"><span style="height: 20px; width: 71px;"><iframe scrolling="no" id="f1eebf30801f44" name="fb72aab338db6" style="border: medium none; overflow: hidden; height: 20px; width: 71px;" title="Like this content on Facebook." class="fb_ltr" src="http://www.facebook.com/plugins/like.php?api_key=&amp;locale=en_US&amp;sdk=joey&amp;channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D21%23cb%3Df1d8fdbe681ab5c%26origin%3Dhttp%253A%252F%252Ftailieu.vn%252Ff3183d0f58e24a6%26domain%3Dtailieu.vn%26relation%3Dparent.parent&amp;href=http%3A%2F%2Ftailieu.vn%2Fxem-tai-lieu%2Fde-thi-thu-dai-hoc-mon-hoa-nam-2013-ma-de-132-kem-dap-an.1395490.html&amp;node_type=link&amp;width=90&amp;font=arial&amp;layout=button_count&amp;colorscheme=light&amp;show_faces=false&amp;send=false&amp;extended_social_context=false"></iframe></span></div>
					        <div id="fb-root" class=" fb_reset"><div style="position: absolute; top: -10000px; height: 0px; width: 0px;"><div><iframe scrolling="no" frameborder="0" name="fb_xdm_frame_http" allowtransparency="true" id="fb_xdm_frame_http" aria-hidden="true" title="Facebook Cross Domain Communication Frame" tab-index="-1" style="border: medium none;" src="http://static.ak.facebook.com/connect/xd_arbiter.php?version=21#channel=f3183d0f58e24a6&amp;origin=http%3A%2F%2Ftailieu.vn&amp;channel_path=%2Fxem-tai-lieu%2Fde-thi-thu-dai-hoc-mon-hoa-nam-2013-ma-de-132-kem-dap-an.1395490.html%3Ffb_xd_fragment%23xd_sig%3Df4d19df31e85e8%26"></iframe><iframe scrolling="no" frameborder="0" name="fb_xdm_frame_https" allowtransparency="true" id="fb_xdm_frame_https" aria-hidden="true" title="Facebook Cross Domain Communication Frame" tab-index="-1" style="border: medium none;" src="https://s-static.ak.facebook.com/connect/xd_arbiter.php?version=21#channel=f3183d0f58e24a6&amp;origin=http%3A%2F%2Ftailieu.vn&amp;channel_path=%2Fxem-tai-lieu%2Fde-thi-thu-dai-hoc-mon-hoa-nam-2013-ma-de-132-kem-dap-an.1395490.html%3Ffb_xd_fragment%23xd_sig%3Df4d19df31e85e8%26"></iframe></div></div><div style="position: absolute; top: -10000px; height: 0px; width: 0px;"><div></div></div></div>
					        <script>						    (function (d, s, id) {
						            var js, fjs = d.getElementsByTagName(s)[0];
						            if (d.getElementById(id)) { return; }
						            js = d.createElement(s); js.id = id;
						            js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
						            fjs.parentNode.insertBefore(js, fjs);
						        } (document, 'script', 'facebook-jssdk'));</script>
			        </li>
			        <li style="padding-top:5px">
				        <div>
					        <!-- google + -->
					        <div style="text-indent: 0px; margin: 0px; padding: 0px; background: none repeat scroll 0% 0% transparent; border-style: none; float: none; line-height: normal; font-size: 1px; vertical-align: baseline; display: inline-block; width: 90px; height: 20px;" id="___plusone_0"><iframe width="100%" scrolling="no" frameborder="0" hspace="0" marginheight="0" marginwidth="0" style="position: static; top: 0px; width: 90px; margin: 0px; border-style: none; left: 0px; visibility: visible; height: 20px;" tabindex="0" vspace="0" id="I0_1365474903180" name="I0_1365474903180" src="https://plusone.google.com/_/+1/fastbutton?bsv&amp;size=medium&amp;hl=en-US&amp;origin=http%3A%2F%2Ftailieu.vn&amp;url=http%3A%2F%2Ftailieu.vn%2Fxem-tai-lieu%2Fde-thi-thu-dai-hoc-mon-hoa-nam-2013-ma-de-132-kem-dap-an.1395490.html&amp;ic=1&amp;jsh=m%3B%2F_%2Fscs%2Fapps-static%2F_%2Fjs%2Fk%3Doz.gapi.en._-4iGC2T81Q.O%2Fm%3D__features__%2Fam%3DQQ%2Frt%3Dj%2Fd%3D1%2Frs%3DAItRSTMekS2KypWO6bJlOhyj4vKwZZvIyQ#_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe%2C_renderstart%2Concircled&amp;id=I0_1365474903180&amp;parent=http%3A%2F%2Ftailieu.vn&amp;rpctoken=7252504" allowtransparency="true" data-gapiattached="true" title="+1"></iframe></div>
					        <script type="text/javascript">
						        (function () {
						            var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
						            po.src = 'https://apis.google.com/js/plusone.js';
						            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
						        })();
					        </script>
					        <!-- end google + -->
				        </div>
			        </li>
			        <li style="padding-top:9px"><img src="/images/ico16x16_04.gif">
				        <a href="javascript:void(0);" onclick="sendLink(&quot;hay&quot;);" title="Hay!">Link hay</a>
			        </li>
			        <li style="padding-top:5px">
				        <a title="Chia sẻ lên Zing Me" type="button" name="zm_share" class="" target="_blank" href="http://link.apps.zing.vn/"><span class="ZMConnectButton_Text">Chia sẻ</span></a>
				        <script type="text/javascript" src="http://stc.ugc.zdn.vn/link/js/lwb.0.7.js"></script>
			        </li>

		        </ul>
	        </div>
        </div>
        <div style="width:200px;font-size:11px;margin-top:5px;" class="right">		
	        <div>
		        <div class="left">		
				        <div data-font="arial" data-show-faces="false" data-width="30" data-layout="button_count" data-send="false" data-href="http://www.facebook.com/vinaglue" class="fb-like fb_edge_widget_with_comment fb_iframe_widget" fb-xfbml-state="rendered"><span style="height: 20px; width: 73px;"><iframe scrolling="no" id="f1bfd919c385d4e" name="f21b561ed6419f" style="border: medium none; overflow: hidden; height: 20px; width: 73px;" title="Like this content on Facebook." class="fb_ltr" src="http://www.facebook.com/plugins/like.php?api_key=&amp;locale=en_US&amp;sdk=joey&amp;channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D21%23cb%3Df300e82fc5fdde4%26origin%3Dhttp%253A%252F%252Ftailieu.vn%252Ff3183d0f58e24a6%26domain%3Dtailieu.vn%26relation%3Dparent.parent&amp;href=http%3A%2F%2Fwww.facebook.com%2Ftailieu.vn&amp;node_type=link&amp;width=90&amp;font=arial&amp;layout=button_count&amp;colorscheme=light&amp;show_faces=false&amp;send=false&amp;extended_social_context=false"></iframe></span></div>
				        <div id="fb-root"></div>
				        <script>					    (function (d, s, id) {
					            var js, fjs = d.getElementsByTagName(s)[0];
					            if (d.getElementById(id)) { return; }
					            js = d.createElement(s); js.id = id;
					            js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
					            fjs.parentNode.insertBefore(js, fjs);
					        } (document, 'script', 'facebook-jssdk'));</script>
		        </div>
                @if (User.Identity.IsAuthenticated)
                {
		            <div style="margin-left:5px;" class="left"><a href="@Model.ProductDetail.AttachFile">Download</a></div>
                }
		        <div id="clear"></div>
	        </div>
	
        </div>
        <div id="clear"></div>
    </div>
</div>
        </div>
    </div>

    <div style="clear:both"></div>
</div>
<div style="margin:3px 0 6px 0;" class="box_banner">
<!-- TaiLieuVN_Center_676x90 -->

<div id="clear"></div>
</div>	  
   
	<div style="margin-top:5px; margin-bottom:5px;" class="w676 fleft">
    <div class="fleft">
        <h2>
            <p style="padding-bottom:5px;padding-top:5px" class="doc_decd">
                <strong>Thể loại: </strong>
			    <a href="/@Model.ProductDetail.CategoryName/tat-ca-tai-lieu.@Model.ProductDetail.CategoryId">@Model.ProductDetail.CategoryName</a> - <a href="/@Model.ProductDetail.CategoryName/@Model.ProductDetail.SubCategoryName.@Model.ProductDetail.CategoryId.@Model.ProductDetail.SubCategoryId">@Model.ProductDetail.SubCategoryName</a>
			</p>
        </h2>
        <p class="doc_decs"></p>
        @if (!string.IsNullOrEmpty(@Model.ProductDetail.Tags))
        {
            <h2>
                <span id="tagOrigin" name="tagOrigin"><strong>Tag: </strong>
                    @Html.Raw(@Model.ProductDetail.Tags)
                </span>
            </h2>  
        }
		<p></p>
	</div>
</div>
@Html.Partial("HotGallery", Model)
@Html.Partial("HotDocument", Model)
@Html.Partial("NewDocument", Model)
<div id="boxde04" class="box_680">
<div class="comtitle">
<div class="ttright">
<p class="ttmid">
	<span onclick="loadBox(1,&quot;dataComment&quot;,0,&quot;1395490&quot;,&quot;&quot;)" class="iconexp iconcoll" title="Thu gọn"></span> <span class="textleft">Bình luận<span name="spnNumComment2" id="spnNumComment2" class="cred">(0)</span></span>
	<span class="textright"><a class="fs11 cgray" href="/">Đăng nhập để gửi bình luận!</a></span>
</p>
</div>
</div>
<div class="content_680" style="display: none;">
<span name="dataComment" id="dataComment"></span>
<div class="frmbox">
<a class="icon" href="/upload/emyzip209"><img width="37" height="37" src="/images/84.jpg"></a>
<div class="contxt">
	<textarea rows="2" onblur="if(this.value=='') this.value=this.defaultValue" onfocus="if(this.value==this.defaultValue) this.value=''" class="areacmt" name="comment" id="txtComment">Đăng nhập để gửi bình luận!</textarea>
	<div class="btn02 fright">
	<span class="cr">
		<input type="button" onclick="doPostComment();return false;" style="width: 80px;" value="Lưu" readonly="" disabled="disabled">
	</span>
	</div>
</div>
</div>
</div>
</div>    </div>
<div class="doc300 fright">
	<div style="margin:2px 0 0px 0px;">
        <!-- TaiLieuVN_Righ1_300x250 -->
    </div>	
</div>
<div id="clear"></div>
